<{extend name="index/header" /}>
<{block name="body"}>
	<link rel="stylesheet" href="__INDEX__/css/style.css"/>
	<link rel="stylesheet" href="__INDEX__/css/cm-overlay.css" />	
	
	<div class="mail" id="mail">
		<div class="container">
			<h3 class="w3l_head w3l_head1">编辑资料</h3>
			<p class="w3ls_head_para w3ls_head_para1">专属于你的生活部分</p>
			<div class="w3_mail_grids">
				<form action="<{:url('register/gerenInsert')}>" method="post" enctype="multipart/form-data">
					<div class="col-md-6 w3_agile_mail_grid">
						<span class="input input--ichiro">
							<input class="input__field input__field--ichiro" type="text" id="input-25" placeholder="" name="nickname" required="" value="<{$user.nickname}>">
							<label class="input__label input__label--ichiro" for="input-25">
								<span class="input__label-content input__label-content--ichiro">姓名</span>
							</label>
						</span>
						<span class="input input--ichiro">
							<input class="input__field input__field--ichiro" name="birthday" type="date" id="input-26" placeholder=" " required="" value="<{$user.birthday|date='Y-m-d',###}>">
							<label class="input__label input__label--ichiro" for="input-26">
								<span class="input__label-content input__label-content--ichiro">出生年月</span>
							</label>
						</span>
                        <span class="input input--ichiro">
                            <input class="input__field input__field--ichiro" name="photo" type="file" id="input-27">
                            <label class="input__label input__label--ichiro" for="input-27">
                                <span class="input__label-content input__label-content--ichiro">选择头像</span>
                            </label>
                        </span>
					</div>
					<div class="col-md-6 w3_agile_mail_grid">
						<textarea name="userinter" placeholder="个人简介" required=""><{$user.userinter}></textarea>
					</div>
                    <input type="submit" value="提交">
					<div class="clearfix"> </div>
				</form>
			</div>
		</div>
	</div>
<{/block}>